import React, { Component } from 'react';
import { StoreProvider } from 'iflux2';
import { Form } from 'antd';

import AppStore from './store';

import Search from './component/search';
import OrderList from './component/order-list';

@StoreProvider(AppStore)
export default class Comment extends Component {

    constructor(props) {
        super(props);
    }

    componentDidMount() {
        this.props.store.queryOrderList();//查询订单列表
    }

    render() {
        return (
            <div className="order-list">
                <Search />
                <OrderList />
            </div>
        );
    }

}
